<?php defined('SYSPATH') or die('No direct script access.');

class Model_Category extends ORM {
	protected $_has_many = array(
	   'blogs'    => array(
		   'model'       => 'blog',
		   'foreign_key' => 'blog_id',
		   'through'      => 'blog_category',
		   'far_key'      => 'category_id',
	   ),
	);
}
?>

